	
	*import excel "$MAIN\Polity IV Annual Time-Series, 1800-2015.xls", sheet("p4v2015") firstrow
	import excel "$data/raw/Polity_raw.xls", firstrow clear
	
	* keep relevant variables & time period

	keep country year polity2
	drop if year<2005 | year>2018
	
	ren country country_gallup
	
	replace country = "Ivory Coast" 			if country == "Cote D'Ivoire"
	replace country = "East Timor" 				if country == "Timor Leste"
	replace country = "South Korea" 			if country == "Korea South"
	replace country = "Myanmar" 				if country == "Myanmar (Burma)"
	replace country = "United Arab Emirates" 	if country == "UAE"

	save "$data/Polity_cleaned.dta", replace
